package com.example.go_drink_water_plugin;

import org.apache.commons.lang3.RandomUtils;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

/**
 * @author wanghuafu
 * @version 0.1
 * @date 2023/12/5
 */
public class TipConstant {

    private static final List<String> reminders = List.of(
            "是时候喝水啦！保持水分，保持清醒。",
            "小提醒：喝一杯水，伸个懒腰。您的身体会感谢您的！",
            "喝水时间！简单的小习惯，大大的健康益处。",
            "保持水分，提高效率！现在就喝口水吧。",
            "忙碌的一天也需要水分补充。暂停一下，喝杯水。"
    );

    public static String getNextTip(){
        Random random = new Random();
        int randomIndex = random.nextInt(reminders.size());
        return reminders.get(randomIndex);
    }

}
